package com.sky.sky_pojo.entity;

import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class CategoryQueryPage {
    private String name;
    private Integer type;
    @NotNull(message = "页码不能为空")
    private Integer page;
    @NotNull(message = "每页大小不能为空")
    private Integer pageSize;
}
